<?php
/**
 * Created by PhpStorm.
 * User: alice
 * Date: 2015/12/26
 * Time: 14:14
 */

/**
 * Class Involved_ProjectModel
 */

class Involved_ProjectModel extends BaseModel
{

    protected $table = 'project';

    /**
     * 获取项目列表
     */
    public function ManageProjectList(){
        return  DB::table($this->table)->get();
    }


    /**
     * 获取项目列表
     */
    public function GetProjectOne($id){
        return  DB::table($this->table)
            ->where('project.project_id',$id)
            ->first();
    }
}